package org.scau.studentevaluation.entity.dos;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author x1aolone
 * @since 2020-09-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yb_user")
public class YbUserDO implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 密码
     */
    @TableField("pass_word")
    private String passWord;

    /**
     * 昵称
     */
    @TableField("user_nick")
    private String userNick;

    /**
     * 性别
     */
    @TableField("sex")
    private String sex;

    /**
     * 钱，为0
     */
    @TableField("money")
    private Integer money;

    /**
     * 经验，为0
     */
    @TableField("exp")
    private Integer exp;

    /**
     * 头像地址，为空串
     */
    @TableField("userhead")
    private String userhead;

    /**
     * 学校id，为0
     */
    @TableField("school_id")
    private Long schoolId;

    /**
     * 学校名
     */
    @TableField("school_name")
    private String schoolName;

    /**
     * 真实姓名
     */
    @TableField("real_name")
    private String realName;

    /**
     * 学院名
     */
    @TableField("college_name")
    private String collegeName;

    /**
     * 班级名
     */
    @TableField("class_name")
    private String className;

    /**
     * 入学年份
     */
    @TableField("enter_year")
    private Integer enterYear;

    /**
     * 学生id
     */
    @TableField("student_id")
    private Long studentId;

    /**
     * 准考证号
     */
    @TableField("examinee_id")
    private Long examineeId;

    /**
     * 录取通知书编号
     */
    @TableField("admission_id")
    private Long admissionId;

    /**
     * 工号
     */
    @TableField("employ_id")
    private Long employId;

    /**
     * 该用户管理的组织
     */
    @TableField("organization")
    private String organization;


}
